package User;
 class User {

    private int id;

    private int password;

    private String emile;


    public User(int id, int password, String emile) {
        this.id = id;
        this.password = password;
        this.emile = emile;
        System.out.println("UserB()");
    }


    public User(int id, int password) {
        this.id = id;
        this.password = password;
        this.emile = null;
        System.out.println("UserA()");
    }


    public void showUser() {
        System.out.println("id: " + this.id + " password: " + this.password + "  emile: " + this.emile);
    }


    public void setId(int id) {
        this.id = id;
    }


    public void setPassword(int password) {
        this.password = password;
    }


    public void setEmile(String emile) {
        this.emile = emile;
    }


}
public class Main {public static void main(String[] args) {
    User user1 = new User(1001, 1111, "123@qq.com");
    user1.showUser();
    User user2 = new User(1002, 1111);
    user2.showUser();
}
}
